There have been a few errors relating to banners recently that have been extremely hard to debug (T264786, T264952)
The error client could provide a clue to a banner being the cause by adding the value of mw.centralNotice.isBannerShown()
Note it's possible we could even log the name of the banner mw.centralNotice.getDataProperty( 'banner' ); but that warrants further investigation and the boolean should be sufficient enough for now.
The tag will also allow us to create a fundraising banner dashboard for catching and addressing these errors as banners are enabled.