Skip to content

Commit 24e6076

Browse files
committed
add v8_report_uncaught_exceptions default true
1 parent 25de485 commit 24e6076

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/SsrModule.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@ protected function configure()
4646
$this->matcher->annotatedWith(Ssr::class),
4747
[SsrInterceptor::class]
4848
);
49-
$this->bind(\V8Js::class)->toConstructor(\V8Js::class, 'object_name=v8js_object_name,variables=v8js_variables,extensions=v8js_extensions,snapshot_blob=v8js_snapshot_blob');
49+
$this->bind(\V8Js::class)->toConstructor(\V8Js::class, 'object_name=v8js_object_name,variables=v8js_variables,extensions=v8js_extensions,report_uncaught_exceptions=v8_report_uncaught_exceptions,snapshot_blob=v8js_snapshot_blob');
5050
$this->bind()->annotatedWith('v8js_object_name')->toInstance('');
5151
$this->bind()->annotatedWith('v8js_variables')->toInstance([]);
5252
$this->bind()->annotatedWith('v8js_extensions')->toInstance([]);
53+
$this->bind()->annotatedWith('v8_report_uncaught_exceptions')->toInstance(true);
5354
$this->bind()->annotatedWith('v8js_snapshot_blob')->toInstance('');
5455
}
5556
}

0 commit comments

Comments
 (0)