Skip to content

On "Settings" > "Message Acceptance" avoid traceback when saving "[]" as "Acceptable aliases"

frennkie requested to merge (removed):workaround-http-error into master

If the "Acceptable aliases" is saved containing "[]" (which is inserted into this field by default) the HTTPError in line 787 produces a traceback (referenced before assignment). Also I see no reason why this should be a HTTPError.. changing it to a generic Exception avoids the traceback and simply prints the "An error occured. []" error message (much nicer)

fix #24 (closed) - at least the traceback (and already duplicate closed #32 (closed))

Merge request reports