Created
July 19, 2019 12:50
-
-
Save edengal/796d1397a3611a9aefc080d393fc2991 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public List<String> query(String query, String timbermillParentId) throws InterruptedException { | |
String id = TimberLogger.start("query", timbermillParentId, LogParams.create().text("sql", query)); | |
try { | |
authorized(id); | |
List<String> list = runSql(query); | |
TimberLogger.success(); | |
return list; | |
} catch (Throwable t){ | |
TimberLogger.error(t); | |
throw t; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment