as badly as possible
He chose the worst possible moment to tell me.
He chose the worst possible moment to talk about money.
—How did he react? —He took it in the worst possible way.