Removed incorrect usage of catch_error