Skip to content

Commit 0a148d6

Browse files
committed
Add plugin crash message to higher level fail function in wasm_vm.h
Signed-off-by: Rachel Green <[email protected]>
1 parent 6cbde81 commit 0a148d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/proxy-wasm/wasm_vm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ class WasmVm {
310310

311311
bool isFailed() { return failed_ != FailState::Ok; }
312312
void fail(FailState fail_state, std::string_view message) {
313-
integration()->error(message);
313+
integration()->error("Plugin Crash: " + message);
314314
failed_ = fail_state;
315315
for (auto &callback : fail_callbacks_) {
316316
callback(fail_state);

0 commit comments

Comments
 (0)