Everytime when exception happens on run.review watchdog receives ONLY internal $code but whole message (reason) is lost.
Same with rpc call - on debug stage we should have ability to view rpc.response data passed.
This could be very helpful when debuging both client and server side
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 510176-debug.patch | 1.82 KB | boombatower |
| #5 | pifr_debug.patch | 1.16 KB | andypost |
| #2 | 510176-debug.patch | 1.78 KB | boombatower |
| #1 | pifr2_debug.patch | 1.8 KB | andypost |
| pifr2_debug.patch | 1.54 KB | andypost |
Comments
Comment #1
andypostXML-RPC result should posted after watchdog
Comment #2
boombatower commentedChanged to straight up watchdog() calls.
Comment #3
boombatower commentedThis was committed, forgot to update status.
Comment #4
andypost@boombatower Logging all XML-RPC into watchdog is expensive so better leave this for
pifr_debug()!So when debug is disabled (production) watchdog stays clean.
Comment #5
andypostAnother opinion - responce could be big and make bot slower
Comment #6
boombatower commentedQuestion to make sure then since PIFR_DEBUG still makes it run a single test...is this what you want?
Comment #7
boombatower commentedFinal patch.
Comment #8
boombatower commentedCommitted.