Display an error message when sending a project by mail fails, instead of crashing.
[DEVELOPMENT ENVIRONMENT] * BUG: Display an error message when sending a project by mail fails, instead of crashing.
This commit is contained in:
parent
2e42435763
commit
1e54fd3863
1 changed files with 2 additions and 1 deletions
|
@ -5846,7 +5846,8 @@ Public Sub SendMail()
|
|||
sTemp = File.SetName(sTemp, GetDefaultArchiveBaseName()) & ".tar.gz"
|
||||
Try Kill sTemp
|
||||
MakeSourcePackageTo(sTemp)
|
||||
Desktop.SendMail(Null,,, If(Project.Title, Project.Title, Project.Name),, sTemp)
|
||||
Try Desktop.SendMail(Null,,, If(Project.Title, Project.Title, Project.Name),, sTemp)
|
||||
If Error Then FMain.ShowErrorWith(("Unable to send project by mail."))
|
||||
|
||||
End
|
||||
|
||||
|
|
Loading…
Reference in a new issue