Skip to content

Commit

Permalink
Merge pull request #6 from bearsunday/hotfix_v8_report_uncaught_excep…
Browse files Browse the repository at this point in the history
…tions

add v8_report_uncaught_exceptions default true
  • Loading branch information
koriym authored Oct 12, 2017
2 parents 25de485 + 24e6076 commit 80e7fea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SsrModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ protected function configure()
$this->matcher->annotatedWith(Ssr::class),
[SsrInterceptor::class]
);
$this->bind(\V8Js::class)->toConstructor(\V8Js::class, 'object_name=v8js_object_name,variables=v8js_variables,extensions=v8js_extensions,snapshot_blob=v8js_snapshot_blob');
$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');
$this->bind()->annotatedWith('v8js_object_name')->toInstance('');
$this->bind()->annotatedWith('v8js_variables')->toInstance([]);
$this->bind()->annotatedWith('v8js_extensions')->toInstance([]);
$this->bind()->annotatedWith('v8_report_uncaught_exceptions')->toInstance(true);
$this->bind()->annotatedWith('v8js_snapshot_blob')->toInstance('');
}
}

0 comments on commit 80e7fea

Please sign in to comment.