Take care of handling exceptions in the handle_save method.

Wrapped up code in a try ... except clause to handle
possible exceptions.