Fix http emit

Looks like this was previously concatenating but is now passing separate arguments.  Changing to emit just the error object so that it can be processed more easily by code