finish manage ui for ssh keys
This commit is contained in:
1 parent
a3a11897c2
commit
6711ce2c43
11 files changed
+336
-224
No files matched your search
@@ -6,3 +6,12 @@ export function getRootCause(error) {
|
||||
return error;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export function fullMessage(error) {
|
||||
let msg = error?.msg ? error.msg : error;
|
||||
if (error.source) {
|
||||
msg = `${msg}: ${fullMessage(error.source)}`;
|
||||
}
|
||||
return msg
|
||||
}
|
||||
Reference in new issue
Block a user