Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
42dd1721
Commit
42dd1721
authored
Aug 22, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fail silently when crash log delivery gives an error
parent
99acb947
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+2
-1
No files found.
modules/gui/macosx/intf.m
View file @
42dd1721
...
@@ -1865,13 +1865,14 @@ unsigned int CocoaKeyToVLC( unichar i_key )
...
@@ -1865,13 +1865,14 @@ unsigned int CocoaKeyToVLC( unichar i_key )
-
(
void
)
connectionDidFinishLoading
:(
NSURLConnection
*
)
connection
-
(
void
)
connectionDidFinishLoading
:(
NSURLConnection
*
)
connection
{
{
msg_Dbg
(
p_intf
,
"crash report successfully sent"
);
[
crashLogURLConnection
release
];
[
crashLogURLConnection
release
];
crashLogURLConnection
=
nil
;
crashLogURLConnection
=
nil
;
}
}
-
(
void
)
connection
:(
NSURLConnection
*
)
connection
didFailWithError
:(
NSError
*
)
error
-
(
void
)
connection
:(
NSURLConnection
*
)
connection
didFailWithError
:(
NSError
*
)
error
{
{
NSRunCriticalAlertPanel
(
_NS
(
"Error when sending the Crash Report"
),
[
error
localizedDescription
],
@"OK"
,
nil
,
nil
);
msg_Warn
(
p_intf
,
"Error when sending the crash report: %s (%li)"
,
[[
error
localizedDescription
]
UTF8String
],
[
error
code
]
);
[
crashLogURLConnection
release
];
[
crashLogURLConnection
release
];
crashLogURLConnection
=
nil
;
crashLogURLConnection
=
nil
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment