Catch exceptions with ReadRevisionHistory

Fixes a bug when the ReadRevisionHistory command goes wrong