log error messages to new tab