Change how error is managed by views.py
Change how error is managed by views.py


Former-commit-id: 6e958fb6a80c836264094d4c1227e36360b3938c [formerly d57d72051bde9503d499a974e4a03eb686fabaa4]
Former-commit-id: d422ab497cd1e709dd976ebf51596e14c0cfb9be
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine