Hook throws on stdout buffer overflow

When there's a huge stdout (more than default 200K) hook throws and doesn't allow to make commit.