[async] Improve error handling for async hooks
Replace CHECK with throwing exception when no or invalid arguments are passed to async_hooks.createHook. Bug: chromium:860481 Change-Id: Ie5a915ee66f2a0ff79c4df5aef94ff883866ecda Reviewed-on: https://chromium-review.googlesource.com/1127054Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Maya Lekova <mslekova@chromium.org> Cr-Commit-Position: refs/heads/master@{#54264}
Showing
Please
register
or
sign in
to comment