Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions modImportExport.bas
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,14 @@ Private Function HandleCrash(ByVal ErrNumber As Long, ByVal ErrDesc As String, B
Dim UserAction As Integer

UserAction = MsgBox( _
Prompt:="An unexpected problem occured, would you like to debug?", _
Buttons:=vbYesNo, _
Prompt:= _
"An unexpected problem occured. Please report this to " & _
"https://github.com/spences10/VBA-IDE-Code-Export/issues" & vbNewLine & vbNewLine & _
"Error Number: " & ErrNumber & vbNewLine & _
"Error Description: " & ErrDesc & vbNewLine & _
"Error Source: " & ErrSource & vbNewLine & vbNewLine & _
"Would you like to debug?", _
Buttons:=vbYesNo + vbDefaultButton2, _
Title:="Unexpected problem")

HandleCrash = UserAction = vbYes
Expand Down