logging full errors