Topic on Help talk:Extension:FileImporter

Improving error messages

5
Summary by Thiemo Kreuz (WMDE)
MGA73 (talkcontribs)

I get errors when I try to move

  1. vi:Tập_tin:Sơ_đồ_thành_cổ_Tân_Sở.svg : "[3cebc9bf-72cf-4731-8a33-210f65603ea1] 2020-08-21 17:03:10: Fatal exception of type "TypeError""
  2. vi:Tập_tin:Plan_de_Son_Tay.svg : "This file (or an older revision of this file) contains elements that cannot be accepted for security reasons: $1"

The first error message does not say anything of use to me. The second does except the $1.

Is it possible to improve the error messages?

MGA73 (talkcontribs)

Someone was so kind to report the first error on phab:T261006 and the second is not very important to me.

Thiemo Kreuz (WMDE) (talkcontribs)

These are super helpful bug reports (not speculating but just repeating what happened, with links). Thank you very much! Both appear to be smaller mistakes we made while working on FileImporter, both loosely related to phab:T253872. I created a ticket for the second issue as well, see phab:T261060.

MGA73 (talkcontribs)

Thanks, thats great Thiemo. It would of course be nice if FileImporter said "Sorry we can't move version 4. Do you want to move the other versions?". But no need to make things more complicated and risk breaking something if it is just because there are a few files that are wierd. :-D

MGA73 (talkcontribs)
Reply to "Improving error messages"