Use the debug module for logging
Handle errors from status toggle component