Skip to content
Snippets Groups Projects
Commit b2d89042 authored by felmer's avatar felmer
Browse files

improving error message

SVN: 25775
parent 1a33092e
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,8 @@ public class DataSourceQueryService implements IDataSourceQueryService
return QueryTool.select(dataSource, query, parameters);
} catch (InvalidQueryException ex)
{
operationLog.error(ex.getCause().getMessage());
Throwable cause = ex.getCause();
operationLog.error(cause == null ? ex.getMessage() : cause.getMessage());
throw ex;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment