only show error if there is an error
This commit is contained in:
parent
b44b4d4d64
commit
6ceb2cb3c0
|
@ -88,6 +88,8 @@ export default class SingleFileDiff {
|
|||
|
||||
if (cb) cb();
|
||||
})
|
||||
.catch(createFlash(__('An error occurred while retrieving diff')));
|
||||
.catch(() => {
|
||||
createFlash(__('An error occurred while retrieving diff'));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue