CLC-2182  Make Canvas refresh script more robust

https://jira.media.berkeley.edu/jira/browse/CLC-2182

Also, when I wrote the refresh code, I hadn't fully acclimated to the new convention whereby logger.warn means "something I definitely want in the log file" rather than "an abnormal condition". I have now, though.