[JBTM-1171] Log sql exception for one phase resources
Merge branch 'mmusgrov-4.17.JBTM-1171' into 4.17