Update upload error message
@@ -31,5 +31,8 @@ def upload(): # pylint:disable=assign-to-new-keyword
except (PolyaxonHTTPError, PolyaxonShouldExitError, PolyaxonClientException) as e:
Printer.print_error('Could not upload code for project `{}`.'.format(project.name))
Printer.print_error('Error message `{}`.'.format(e))
+ Printer.print_error('Check if you have access rights for this project, '
+ 'or if you are running a notebook, '
+ 'you should stop it before uploading.')
sys.exit(1)
Printer.print_success('Files uploaded.')
