mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 17:46:00 +00:00
show import/export error
This commit is contained in:
@@ -100,15 +100,15 @@ module.exports = {
|
||||
},
|
||||
|
||||
handle_copyStreamError(runid, { copyStreamError }) {
|
||||
const { reject, exitOnStreamError } = this.requests[runid];
|
||||
const { reject, exitOnStreamError } = this.requests[runid] || {};
|
||||
if (exitOnStreamError) {
|
||||
reject(copyStreamError);
|
||||
delete this.requests[runid];
|
||||
}
|
||||
},
|
||||
|
||||
handle_progress(runid, { progressName, status }) {
|
||||
socket.emit(`runner-progress-${runid}`, { progressName, status });
|
||||
handle_progress(runid, { progressName, status, errorMessage }) {
|
||||
socket.emit(`runner-progress-${runid}`, { progressName, status, errorMessage });
|
||||
},
|
||||
|
||||
rejectRequest(runid, error) {
|
||||
|
||||
Reference in New Issue
Block a user