fix AbstractEvent.throwable throwing NPE when error isn't defined