add whoops callback