Created
July 19, 2019 12:58
-
-
Save edengal/067e121522ba1fce0e67e128fc87cdec 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 { | |
authorize(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