Add cancellation reason tracking with user/system codes and UI
This commit is contained in:
+10
-2
@@ -77,9 +77,17 @@ const ERROR_CODES: Record<string, ErrorCodeInfo> = {
|
||||
title: 'SSH key not found',
|
||||
hint: 'Server fell back to its own key. Verify the machine SSH key configuration',
|
||||
},
|
||||
cancelled: {
|
||||
cancelled_user: {
|
||||
title: 'Cancelled by user',
|
||||
hint: 'The job was manually cancelled',
|
||||
hint: 'The job was manually cancelled from the UI',
|
||||
},
|
||||
cancelled_shutdown: {
|
||||
title: 'Cancelled — server shutdown',
|
||||
hint: 'The job was interrupted because the syncserver process stopped',
|
||||
},
|
||||
unknown_cancelled: {
|
||||
title: 'Cancelled (no reason recorded)',
|
||||
hint: 'This cancellation happened before the upgrade that records reasons',
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user