We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c57c427 commit 86ec07cCopy full SHA for 86ec07c
src/test/java/net/sf/jsqlparser/test/TestUtils.java
@@ -22,6 +22,7 @@
22
import java.util.List;
23
import java.util.Map;
24
import java.util.function.Consumer;
25
+import java.util.logging.*;
26
import java.util.regex.Pattern;
27
import java.util.stream.Collectors;
28
import java.util.stream.Stream;
@@ -155,9 +156,9 @@ private static void writeTestToFile(String sanitizedInputSqlStr) {
155
156
IOUtils.write("\n;", fileWriter);
157
}
158
IOUtils.write("\n\n", fileWriter);
- } catch (IOException e) {
159
- throw new RuntimeException(e);
160
- }
+ } catch (IOException ex) {
+ Logger.getLogger(TestUtils.class.getName()).log(Level.SEVERE, "Writing SQL to file failed.", ex);
161
+ }throw new RuntimeException(e);
162
163
164
0 commit comments