Green’s Dictionary of Slang

pan n.2

[pan v.1 (1)]

[1900s–20s] a criticism.

In phrases

get the pan (v.)

[1900s] (US) to be criticized, denigrated.

put on the pan (v.)

[1900s–10s] (US) to subject someone to criticism, to attack verbally.