Wow! So turns out it was a silly error on my part. I had tried the Error object previously, but it was while looking at a different part of the code... I was actually looking/changing the 'imagekit' case in the code and being stumped as to why I was still seeing the behavior as I explained. Anyhow, it is working as it should when passing in an Error object. Thanks for the extra insight!
two plugin error
I have this error on nodebb log:
error: [plugin/iframely] Encountered error querying Iframely API: socket hang up
19/12 22:00  -
invalid csrf token
@sanatisharif why do you try to use Tapatalk with NodeBB?
@sanatisharif did you used Tapatalk in a previous installation of the forum (did you switched your forum software)?
Because then it could be the case that someone requested the site over Tapatalk and the app could not find the "communicator".
@AOKP yes, migrated from vBulletin to nodebb!
@sanatisharif this explains it then.
Someone tried to visit your forum over the app and NodeBB did not found the requsted file/URL.