bugfix: change logging warning -> warn (correct method call)

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>