Modified exception in status function, changed e.message by e.strerror