chore: improve error message on failed SMApp register/unregister (#42526)
This commit is contained in:
parent
e217b063a5
commit
86cf60c3f1
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ std::string GetLaunchStringForError(NSError* error) {
|
|||
return "The specified path doesn't exist or the helper tool at the "
|
||||
"specified path isn't valid";
|
||||
default:
|
||||
return "Failed to register the login item";
|
||||
return base::SysNSStringToUTF8([error localizedDescription]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue