I'm now wondering if this is useful at all (i.e., if it ever throws an exception anymore) and if it's required. If it is required, it should likely go in the set_motd method in the new concern. If not, then we should remove it as being unused.
In fact, we should likely follow the same pattern that widgets do if they have some issue rendering - i.e., an error widget is rendered instead of the failed partial.
While reviewing #3216, we noticed this here, where we're rescuing from a StandardError while attempting to create the message of the day (MOTD).
https://github.com/OSC/ondemand/blob/cdfbab078b7b92efcf9c1aadc75fda7351581f6e/apps/dashboard/app/controllers/dashboard_controller.rb#L8-L9
I'm now wondering if this is useful at all (i.e., if it ever throws an exception anymore) and if it's required. If it is required, it should likely go in the
set_motd
method in the new concern. If not, then we should remove it as being unused.