missed to change some parts

Signed-off-by: Mattias Andrée <maandree@operamail.com>
report an error, rather than causing failure the caller but not for the called function

Signed-off-by: Mattias Andrée <maandree@operamail.com>