File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
src/test/java/com/arangodb Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,15 @@ public void getDatabases() {
118
118
assertThat (dbs , hasItem ("_system" ));
119
119
assertThat (dbs , hasItem (BaseTest .TEST_DB_CUSTOM ));
120
120
assertThat (dbs , hasItem (BaseTest .TEST_DB ));
121
+ } catch (ArangoDBException e ) {
122
+ System .out .println ("ArangoDBException" );
123
+ System .out .println (e .getException ());
124
+ System .out .println ("Response code: " + e .getResponseCode ());
125
+ System .out .println ("Error num: " + e .getErrorNum ());
126
+ System .out .println ("Message: " + e .getMessage ());
127
+ } catch (AssertionError assertionError ) {
128
+ System .out .println ("AssertionError" );
129
+ System .out .println (assertionError .getMessage ());
121
130
} finally {
122
131
arangoDB .db (BaseTest .TEST_DB_CUSTOM ).drop ();
123
132
}
You can’t perform that action at this time.
0 commit comments