safe_call function

Safely evaluate and return fallback on error (with warning)