Skip to content

Commit

Permalink
fix cause position
Browse files Browse the repository at this point in the history
Change-Id: I4d829c070d2bf324e3ccb3a7a79d59ed548acc95
  • Loading branch information
javeme committed Jul 2, 2019
1 parent 8772d94 commit 1ff4c86
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -476,10 +476,10 @@ private static Id asyncRun(HugeGraph graph, HugeType schemaType,
throw (RuntimeException) cause;
}
throw new HugeException("Async task failed with error: %s",
cause.getMessage(), cause);
cause, cause.getMessage());
} catch (Exception e) {
throw new HugeException("Async task failed with error: %s",
e.getMessage(), e);
e, e.getMessage());
}
}
return task.id();
Expand Down

0 comments on commit 1ff4c86

Please sign in to comment.