Porting of modules

Why checking for ``error_id`` here? Does it mean the user should be considered logged if an issue already occured?