[BUGFIX] Display warning only in dev context