We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 1378f80d authored by Evan Prodromou's avatar Evan Prodromou

better error msg

darcs-hash:20080718185027-84dde-f349b9772ec091d8b09bc09405a9ff5660902a2c.gz
parent de6867a0
......@@ -141,17 +141,17 @@ class MailerDaemon {
$msg = $parsed->body;
break;
default:
$this->unsupported_type();
$this->unsupported_type($parsed);
}
default:
$this->unsupported_type();
$this->unsupported_type($parsed);
}
return array($from, $to, $msg);
}
function unsupported_type() {
$this->error(NULL, "Unsupported message type");
function unsupported_type($parsed) {
$this->error(NULL, "Unsupported message type: " . $parsed->ctype_primary . "/" . $parsed->ctype_secondary ."\n");
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment