[services/debug/console] set err correctly