Error handling on resave err
Adding debug of newList when necessary
Fixing error handling of resave err