enonic/cli-enonic

Improve error message given when trying to create a snapshot with incorrect repository name

Closed this issue · 1 comments

  1. Insert an incorrect name for the name of the repository to snapshot:
    enonic snapshot create -a user1:password123 -r com.test

BUG - 500 error appears:

image

pmi commented

Fixed the error format to be more human friendly

enonic.exe snapshot create -a pmi:pmi1234567 -r com.enonic.cmso
Creating snapshot...Failure: no such index