Reframework take screenshot on error in initialization

how do we configure reframework to take exception screenshot on error in initialization ? Thank you.

any idea ? Thanks.