mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 05:53:27 -07:00
The workaround for 3429716 didn't work, now catching every exception.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1935 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
ed2650eb75
commit
c6d2350d94
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ namespace Jira {
|
||||||
try {
|
try {
|
||||||
string base64String = Convert.ToBase64String(buffer, Base64FormattingOptions.InsertLineBreaks);
|
string base64String = Convert.ToBase64String(buffer, Base64FormattingOptions.InsertLineBreaks);
|
||||||
jira.addBase64EncodedAttachmentsToIssue(credentials, issueKey, new string[] { filename }, new string[] { base64String });
|
jira.addBase64EncodedAttachmentsToIssue(credentials, issueKey, new string[] { filename }, new string[] { base64String });
|
||||||
} catch (ArgumentException ex1) {
|
} catch (Exception ex1) {
|
||||||
LOG.WarnFormat("Failed to upload by using method addBase64EncodedAttachmentsToIssue, error was {0}", ex1.Message);
|
LOG.WarnFormat("Failed to upload by using method addBase64EncodedAttachmentsToIssue, error was {0}", ex1.Message);
|
||||||
try {
|
try {
|
||||||
LOG.Warn("Trying addAttachmentsToIssue instead");
|
LOG.Warn("Trying addAttachmentsToIssue instead");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue