mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 18:57:28 -07:00
BUG-2739: Bugfix for error handling. [skip ci]
This commit is contained in:
parent
b4bec996f3
commit
da2db5eae8
1 changed files with 1 additions and 1 deletions
|
@ -1393,7 +1393,7 @@ namespace Greenshot.Forms {
|
|||
catch (Exception ex)
|
||||
{
|
||||
// Make sure we show what we tried to open in the exception
|
||||
ex.Data.Add("path", path);
|
||||
ex.Data["path"] = path;
|
||||
LOG.Warn("Couldn't open the path to the last exported file", ex);
|
||||
// No reason to create a bug-form, we just display the error.
|
||||
MessageBox.Show(this, ex.Message, "Opening " + path, MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue