Skip to content

Commit

Permalink
chore: improve error message on failed SMApp register/unregister (#42557
Browse files Browse the repository at this point in the history
)

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <[email protected]>
  • Loading branch information
trop[bot] and codebytere authored Jun 18, 2024
1 parent a4410e2 commit c7219bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/common/platform_util_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
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]);
}
}

Expand Down

0 comments on commit c7219bf

Please sign in to comment.