mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
Add error codes to log messages
This commit is contained in:
1 parent
350aeb1c81
commit
c2db46f656
1 file changed
+2
-2
@@ -35,7 +35,7 @@
|
||||
OSStatus createStatus = AuthorizationCreate(NULL, kAuthorizationEmptyEnvironment, kAuthorizationFlagDefaults, &auth);
|
||||
if (createStatus != errAuthorizationSuccess) {
|
||||
auth = NULL;
|
||||
SULog(@"Failed to create authorization reference");
|
||||
SULog(@"Failed to create authorization reference: %d", createStatus);
|
||||
}
|
||||
|
||||
BOOL canceledAuthorization = NO;
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
OSStatus copyStatus = AuthorizationCopyRights(auth, &rights, kAuthorizationEmptyEnvironment, flags, NULL);
|
||||
if (copyStatus != errAuthorizationSuccess) {
|
||||
SULog(@"Failed copying system domain rights with kSMRightModifySystemDaemons");
|
||||
SULog(@"Failed copying system domain rights with kSMRightModifySystemDaemons: %d", copyStatus);
|
||||
failedToUseSystemDomain = YES;
|
||||
|
||||
if (copyStatus == errAuthorizationCanceled) {
|
||||
|
||||
Reference in new issue
Block a user