https://bugzilla.wikimedia.org/show_bug.cgi?id=32231

--- Comment #1 from Antoine "hashar" Musso <[email protected]> 2011-11-07 10:10:08 
UTC ---
Created attachment 9368
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=9368
add traceback when boolean used as a file handle

I can not reproduce locally.

Looks like at some point a file could not be opened hence $this->file receive
the 'false' value which is then used as a file handle.

One way to track this issue would be to add a check in the write function so it
emits a stack trace when a boolean is used as a handle. See attached patch.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to