Update list of possible errors when uploading code
@@ -37,9 +37,11 @@ def upload(sync=True): # pylint:disable=assign-to-new-keyword
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 and '
- 'that you are not uploading large files.'
- 'If you are running a notebook, '
+ Printer.print_error(
+ 'Check the project exists, '
+ 'and that you have access rights, '
+ 'this could happen as well when uploading large files.'
+ 'If you are running a notebook and mounting the code to the notebook, '
'you should stop it before uploading.')
sys.exit(1)
Printer.print_success('Files uploaded.')
