DEV: Print backtrace of error when plugin fails to initialize.

This commit is contained in:
Guo Xiang Tan 2020-06-09 10:21:40 +08:00
parent c5b1f028ed
commit 4065cd198a
No known key found for this signature in database
GPG Key ID: FBD110179AAC1F20

View File

@ -42,6 +42,8 @@ def plugin_initialization_guard(&block)
initialization:
#{error}
#{error.backtrace.join("\n")}
MESSAGE
end
exit 1