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

Comments

andypost’s picture

StatusFileSize
new1.8 KB

XML-RPC result should posted after watchdog

boombatower’s picture

StatusFileSize
new1.78 KB

Changed to straight up watchdog() calls.

boombatower’s picture

Assigned: Unassigned » boombatower
Status: Needs review » Fixed

This was committed, forgot to update status.

andypost’s picture

Status: Fixed » Needs work

@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.

andypost’s picture

Status: Needs work » Needs review
StatusFileSize
new1.16 KB

Another opinion - responce could be big and make bot slower

boombatower’s picture

Question to make sure then since PIFR_DEBUG still makes it run a single test...is this what you want?

boombatower’s picture

StatusFileSize
new1.82 KB

Final patch.

boombatower’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.