How do I pass the category object to a function when is_archive() is true?

get_cat_desc(get_category(get_query_var( 'category' )));

(get_category)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)