fix test error log, forgot to change method name along with event name in commit bf0de9a, log error instead in case it's an error string not object