Attempt to improve serial error reporting to help fixing #386