better exception handling
store more meta data in elastic search