add params to error log for testing