提交 bcb4e15c 编写于 作者: N Nikita Akilov

#11047 unwrap InvocationTargetException when showing error message

上级 f9f91f59
......@@ -75,7 +75,7 @@ public class DTTaskHandlerTransfer implements DBTTaskHandler {
DBWorkbench.getPlatformUI().showError(
DTMessages.data_transfer_task_handler_unexpected_error_title,
DTMessages.data_transfer_task_handler_unexpected_error_message,
e
e.getCause()
);
throw new DBException("Error starting data transfer", e);
} catch (InterruptedException e) {
......@@ -170,7 +170,7 @@ public class DTTaskHandlerTransfer implements DBTTaskHandler {
DBWorkbench.getPlatformUI().showError(
DTMessages.data_transfer_task_handler_resoring_referential_integrity_unexpected_error_title,
DTMessages.data_transfer_task_handler_resoring_referential_integrity_unexpected_error_message,
e
e.getCause()
);
}
if (dbExceptionWasThrown[0]) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册